import request from '@/utils/http'

// feature1Bar
export function feature1BarJson(comment = {}) {

    const queryData = comment
    return request(
        'http://54.251.169.232/static/data/P1_progress_bars.json', queryData
    )
}

// feature1Line
export function feature1LineJson(comment) {

    const queryData = comment
    return request(
        'http://54.251.169.232/static/data/P1_prgress_lines.json', queryData
    )
}


// feature2Historical
export function feature2Historical(comment = {}) {

    const queryData = comment
    return request(
        'http://54.251.169.232/static/data/P2_historical_goal.json', queryData
    )
}

// feature1Line
export function feature2Current(comment) {

    const queryData = comment
    return request(
        'http://54.251.169.232/static/data/P2_current_goal.json', queryData
    )
}


// feature3
export function feature3Data(comment = {}) {

    const queryData = comment
    return request(
        'http://54.251.169.232/static/data/P3_fraudulent_contrast.json', queryData
    )
}

// feature4CurrentComment
export function feature4CurrentComment(comment) {

    const queryData = comment
    return request(
        'http://54.251.169.232/static/data/P4_current_comment.json', queryData
    )
}

// feature4HistoricalComment
export function feature4HistoricalComment(comment) {

    const queryData = comment
    return request(
        'http://54.251.169.232/static/data/P4_historical_comment_mean.json', queryData
    )
}


// feature5CommentData
export function feature5CommentData(comment) {

    const queryData = comment
    return request(
        'http://54.251.169.232/static/data/P5_current_comment.json', queryData
    )
}

// feature5ReplyData
export function feature5ReplyData(comment) {

    const queryData = comment
    return request(
        'http://54.251.169.232/static/data/P5_current_comment_reply.json', queryData
    )
}

// feature6Data
export function feature6Data(comment) {

    const queryData = comment
    return request(
        'http://54.251.169.232/static/data/P6_topics.json', queryData
    )
}

// feature7Data
export function feature7Data(comment) {

    const queryData = comment
    return request(
        'http://54.251.169.232/static/data/P7_past_campaign_outcome.json', queryData
    )
}

// feature8Data
export function feature8Data(comment) {

    const queryData = comment
    return request(
        'http://54.251.169.232/static/data/P8_past_campaign_average_radar.json', queryData
    )
}


// feature9Data
export function feature9Data(comment) {

    const queryData = comment
    return request(
        'http://54.251.169.232/static/data/P9_historical_outcomes.json', queryData
    )
}








